package com.ruicar.afs.cloud.common.modules.afscorebusiness.enums;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-21 20:36
 */
public enum CostTypeEnum implements AfsBaseEnum {
    @AfsEnum(key = "01", desc = "车款", mapping = {"afs-case=01", "afs-contract=CAR_AMT"})
    CARAMT("01", "车款"),
    @AfsEnum(key = "02", desc = "附加贷", mapping = {"afs-case=01", "afs-contract=ADDITIONAL"})
    AFFIXAMT("02", "附加贷");

    CostTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private String code;
    private String desc;

    public String getCode() {
        return code;
    }
}
